package com.gitee.wsl.net.server.shortener

import com.gitee.wsl.ext.base.currentTime
import kotlinx.datetime.Instant
import kotlinx.serialization.Serializable

@Serializable
data class UrlEntity(
    val id: Long? = null,

    val originalUrl: String,

    val shortId: String,

    val createdAt: Instant = currentTime
)